CXX = gcc 
CXXFLAGS = -c 	
TARGET = test
OBJ = test.o

$(TARGET) : $(OBJ)
	$(CXX) -o $(TARGET) $(OBJ)

%.o : %.c 
	$(CXX) $(CXXFLAGS)  $<	-o $@

.PHONY:clean
clean:
	rm -rf $(TARGET) *.o
